<%--
  Created by IntelliJ IDEA.
  User: 刘瑶
  Date: 2020/4/28
  Time: 15:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>欢迎登录知士荟</title>
    <link type="text/css" rel="stylesheet" href="../css/welcome.css"/>
    <script type="text/javascript" src="../js/welcome.js"></script>
</head>
<body>
<div class="logo">
    <img src="../images/logo.png">
</div>
<div class="title-container">
    <h1 class="title">
        知士荟
    </h1>
    <h2 class="desc">
        在交流中一起成长
    </h2>
</div>
<!--主体-->
<section id="content">
    <!--头部-->
    <div class="content-header clearfix">
        <a href="javaScript:;" class="current">登录</a>
        <a href="javaScript:;" >注册</a>
    </div>
    <!--内容-->
    <div class="content-body">
        <div class="dom" style="display: block">
            <form action="/users/login" method="post" onsubmit="return checkForm(this);">
                <div class="s1">
                    <h4>账号</h4>
                    <input type="hidden" id="user" value="${user.usernumber}}">
                    <input type="text" name="usernumber" placeholder="请输入账号"  onfocus="FocusItem(this)" onblur="CheckItem(this);">
                    <span></span>
                </div>
                <div class="s1">
                    <h4>密码</h4>
                    <input type="password" name="password" placeholder="请输入密码"  onfocus="FocusItem(this)" onblur="CheckItem(this);">
                    <span></span>
                </div>
                <input type="submit" value="登&nbsp;录" class="btn" name="submit">
            </form>
        </div>
        <div class="dom">
            <form action="/users/resign" method="post" onsubmit="return checkForm(this);">
                <div class="s1">
                    <h4>昵称</h4>
                    <input type="text" name="username" placeholder="请输入昵称"  onfocus="FocusItem(this)" onblur="CheckItem(this);">
                    <span></span>
                </div>
                <div class="s1">
                    <h4>账号</h4>
                    <input type="text" name="usernumber" placeholder="请输入账号"  onfocus="FocusItem(this)" onblur="CheckItem(this);">
                    <span></span>
                </div>
                <div class="s1">
                    <h4>密码</h4>
                    <input type="password" id="password" name="password" placeholder="请输入密码（6-20位)"  onfocus="FocusItem(this)" onblur="CheckItem(this);">
                    <span></span>
                </div>
                <div class="s1">
                    <h4>确认密码</h4>
                    <input type="password" name="rePassword" placeholder="请确认再次密码"  onfocus="FocusItem(this)" onblur="CheckItem(this);">
                    <span></span>
                </div>
                <input type="submit" value="注&nbsp;册" class="btn" name="register">
            </form>
        </div>
    </div>
</section>
</body>
</html>
